package cn.tedu.fcms.customer.associatedaccount.service;

import cn.tedu.fcms.customer.associatedaccount.pojo.dto.AssociatedAccountParam;
import cn.tedu.fcms.customer.associatedaccount.pojo.dto.AssociatedAccountQuery;
import cn.tedu.fcms.customer.associatedaccount.pojo.vo.AssociatedAccountVO;

import java.util.List;

public interface AssociatedAccountService {
    List<AssociatedAccountVO> query(AssociatedAccountQuery query);

    AssociatedAccountVO add(AssociatedAccountParam param);

    AssociatedAccountVO update(AssociatedAccountParam param);

    AssociatedAccountVO remove(Long id);

    AssociatedAccountVO submitApproval(Long applicationId);

    AssociatedAccountVO approve(AssociatedAccountParam param);

    AssociatedAccountVO delete(Long applicationId);
}
